﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 职工端
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void 商品信息查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            商品信息查询 MDIChild = new 商品信息查询();
            MDIChild.MdiParent = this;
            MDIChild.Show();
        }

        private void 商品信息修改ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            商品信息修改 商品信息修改 = new 商品信息修改();
            商品信息修改.MdiParent = this;
            商品信息修改.Show();
        }

        private void 添加新商品ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            添加新商品 添加新商品 = new 添加新商品();
            添加新商品.MdiParent = this;
            添加新商品.Show();
        }

        private void 指出记录ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            商品售出情况 商品售出情况 = new 商品售出情况();
            商品售出情况.MdiParent = this;
            商品售出情况.Show();
        }

        private void 订单ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            购货清单 购货清单 = new 购货清单();
            购货清单.MdiParent = this;
            购货清单.Show();
        }

        private void 个人信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            个人信息修改 个人信息修改 = new 个人信息修改();
            个人信息修改.MdiParent = this;
            个人信息修改.Show();
        }

        private void 退出系统ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Environment.Exit(0);
        }
    }
}
